﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace PM.PMBasic
{
    /// <summary>
    ///Basic 的摘要说明
    /// </summary>
    public class Basic
    {
        public Basic()
        {
            //
            //TODO: 在此处添加构造函数逻辑
            //
        }
        /// <summary>
        /// 根据时间生成唯一编号
        /// </summary>
        /// <param name="Info">基本字符信息</param>
        /// <returns>返回编号</returns>
        public static string GetIndentityWithDate(string Info)
        {
            return Info + "-" + DateTime.Now.ToString("yyyyMMddHHmmssffff");
        }
    }
}
